]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Fix building toolbox with latest malcontent
authorIgnacy Kuchciński <ignacykuchcinski@gnome.org>
Fri, 12 Sep 2025 11:19:51 +0000 (13:19 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 15 Sep 2025 00:48:56 +0000 (02:48 +0200)
While introducing latest malcontent in the toolbox, mistakenly wrong
path to install-meson-project.sh was used. Correct this by using the
proper path, after copying the script there.

Moreover, disable building documentation in malcontent subproject
libgsystemservice, so that we don't have to install more dependencies.

Fixes: b7992b80 ("ci: Include latest malcontent in the toolbox")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3873>

.gitlab-ci/build-toolbox-image.sh

index 7bc13a96aca64bf143e518178dc4c2eb219b541c..a4cb6e228053a9a97225c3e4994c8327b5985219 100755 (executable)
@@ -41,13 +41,11 @@ build_container() {
   )
   buildah run $build_cntr dnf config-manager setopt '*-openh264.enabled=0'
   buildah run $build_cntr dnf install -y "${extra_packages[@]}"
+  buildah run $build_cntr dnf builddep malcontent -y # for building libmalcontent
   buildah run $build_cntr dnf debuginfo-install -y "${debug_packages[@]}"
   buildah run $build_cntr dnf clean all
   buildah run $build_cntr rm -rf /var/lib/cache/dnf
 
-  # add latest malcontent to the toolbox image for testing future integration
-  buildah run $build_cntr .gitlab-ci/install-meson-project.sh https://gitlab.freedesktop.org/pwithnall/malcontent.git main
-
   # somehow the sysusers trigger from the flatpak package messes up the
   # permissions of /etc/passwd to be only readable by root
   buildah run $build_cntr chmod 644 /etc/passwd
@@ -61,6 +59,9 @@ build_container() {
   local srcdir=$(realpath $(dirname $0))
   buildah copy --chmod 755 $build_cntr $srcdir/install-meson-project.sh /usr/libexec
 
+  # add latest malcontent to the toolbox image for testing future integration
+  buildah run $build_cntr /usr/libexec/install-meson-project.sh https://gitlab.freedesktop.org/pwithnall/malcontent.git main -Dlibgsystemservice:gtk_doc=false
+
   # include convenience script for updating mutter dependency
   local update_mutter=$(mktemp)
   cat > $update_mutter <<-EOF